<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<body>
		<h1 class="pagetitle">
			New Order
		</h1>
		<div class="column1-unit">
			<table class="bigtable">
				<tr>
					<th width="150">
						料号
					</th>
					<th width="200">
						料号说明
					</th>
					
					<th width="100">
						单价
					</th>
					<th width="100">
						数量
					</th>
					<th>
						Detail
					</th>
				</tr>
				<s:iterator value="order.orderSubList">
				<tr>
					<td >
						<s:property value="pn.pn"/>
					</td>
					<td >
						<s:property value="pn.remark"/>
					</td>
					<td >
						<s:property value="price"/>
					</td>
					<td >
						<s:property value="quantity"/>
					</td>
					<td>
						<s:iterator value="pn.partsList">
							<s:property value="name"/>---<s:property value="quantity"/><br>
						</s:iterator>
					</td>
				</tr>
				</s:iterator>
			</table>
			
			<table class="formtable">
				<tr>
					<td width="100">
						备注
					</td>
					<td>
						<s:property value="order.remark"/>
					</td>
				</tr>
			</table>
			<a href="order.action">Back</a> <a href="order!list.action">List</a>
		</div>

	</body>
</html>